package org.taurusxi.cloudbean;

/**
 * Created by chengxi on 2017/8/14.
 */
public class ApiModel {
    private int code;
    private String msg;

    public ApiModel() {
    }
    public ApiModel(int code) {
        this.code = code;
    }

    public ApiModel(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    public static final ApiModel ERROR_MODEL = new ApiModel(400,"服务异常");
}
